package com.sample.controller.datastore.ex1;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;

import com.sample.service.datastore.ex1.EasyCRUD;
import com.sample.service.datastore.ex2.TxSample;

public class ReadController extends Controller {

    @Override
    public Navigation run() throws Exception {

        requestScope("entities", EasyCRUD.read());

        TxSample.query("user1");
        TxSample.query("user2");

        return forward("read.jsp");
    }
}
